'''
Created on 2011-2-6

@author: wilbur.ma
'''
from pwilib.util.plugin.Plugin import Plugin

class Crawler(Plugin):
    category = 'Crawler'
    
    
class LocationCrawler(Crawler):
    '''
    getLocations(self, workspaces, src_dir = 'src')
    '''
    def __init__(self):
        Crawler.__init__(self)
        self.locations = []   
        
    def getLocations(self):
        # Implement location search algorithm here.
        return self.locations